</artcile>
<div class="bar bar-footer" style="background-color:cornflowerblue">
    <button class="button-clear" style="position:absolute;left: 30px;"><a href="/">首页</a></button>
    <% if (user) { %>
    <div class="title"><a href="/post">发布</a></div>
    <button class="button-clear" style="position:absolute;right: 30px;"><a href="/logout">退出</a></button>
    <% } else { %>
    <div class="title"><a title="登录" href="/login" style="color:whitesmoke;">登录</a></div>
    <button class="button-clear" style="position:absolute;right: 30px;"><a title="注册" href="/reg">注册</a></button>
    <% } %>
</div>
</div>
</body>
</html>